﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace WebApi.Models
{
    [Table("Coupons")]
    public class Coupons : EntityTypeConfiguration<Coupons>  /*优惠券设计表*/
    {
        [Key]
        public int ID { set; get; }     /*1、排序*/
        public string Co_Id { set; get; }      /*2、优惠券编号*/
        public int Co_Vadility { set; get; }      /*3、保存时间*/
        public string Co_Description { set; get; }     /*4、优惠券描述*/
        public int Co_Rank { set; get; }   /*5、优惠券发放的用户等级*/
        public int Co_type { set; get; }    /*6、优惠券类型*/
    }
}